# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Date)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Date_SRCS datePlugin.cpp)
QT4_WRAP_CPP(Date_SRCS datePlugin.h)

add_library(Date SHARED ${Date_SRCS})
add_dependencies(Date KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Date KontAMabil ${QT_LIBRARIES})

install(TARGETS Date DESTINATION "${QT_PLUGINS_DIR}/designer" LIBRARY)
install(TARGETS Date ${INSTALL_DESIGNER_PLUGINS_DEFAULT_ARGS} )

